import { createStore, applyMiddleware, combineReducers, compose } from 'redux'
import thunk from 'redux-thunk';
import homeReduce from './home';
import userReduce from './user';

const state = combineReducers({
    homeReduce,
    userReduce
})

const store = createStore(state, compose(
    applyMiddleware(thunk)
))

export default store;
